package com.study.mapper;

import com.study.model.RoleResources;
import com.study.util.MyMapper;
import org.apache.ibatis.annotations.Param;

public interface RoleResourcesMapper extends MyMapper<RoleResources> {

    //获取资源名
    String queryResourcesName(@Param("id") String id);

    //获取角色名
    String queryRoleName(@Param("id") Integer id);

    //删除角色资源表
    int deleteRoleResources(@Param("roleId") Integer roleId);

}